home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / General / GCC 1.37.1r15 / Tests / poor-short.c < prev    next >
C/C++ Source or Header  |  1992-12-16  |  180b  |  15 lines

  1. /* A function declared as returning a short should be able to just fill in
  2.    half of D0. */
  3.  
  4. short **glob;
  5.  
  6. short foo(short **x)
  7. {
  8.     return **x;
  9. }
  10.  
  11. main()
  12. {
  13.     **glob = foo(glob);
  14. }
  15.